<?php

namespace App\Models\user;

use App\Models\base\traits\HasOwner;
use App\Models\base\traits\ImgTrait;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\user\UserCheck
 *
 * @property int $id
 * @property int $user_id
 * @property string $imgs 审核图片
 * @property string|null $remark 后台审核意见
 * @property int $level 用户等级 1 => '普通用户',2 => '小店用户',3 => '企业用户',
 * @property int $status 0 => '驳回', 1 => '通过', 2 => '待审核'
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read mixed $header_img
 * @property-read mixed $icon
 * @property mixed $icons
 * @property mixed $img
 * @property mixed $parameter
 * @property-read \App\Models\User $user
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck owner($userId)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck whereImgs($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck whereLevel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\UserCheck whereUserId($value)
 * @mixin \Eloquent
 */
class UserCheck extends Model
{
    use ImgTrait;
    use HasOwner;


    protected $fillable = [
        'user_id',
        'imgs',
        'level',
        'status'
    ];
}
